package br.fatec.ppi.entities;

import javax.persistence.Entity;
import javax.persistence.Id;

/*
 * Facade class to Entity Student
 */
@Entity
public class Student {
    /*
     * Private Fields
     */
    @Id
    private int id;
    
    private String name;
    
    private int age;
    
    
    /*
     * Getters and Setters
     */
    public int getId() {
        return id;
    }
    
    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
